-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vdiff: factor Summarize out from vtctldclient #16781
Conversation
Factor out buildSingleSummary as vdiff.Summarize, which generates a summary of the VDiff operation based on the VDiffShow RPC response. Fixes #16780. Signed-off-by: Matt Layher <[email protected]>
Review ChecklistHello reviewers! 👋 Please follow this checklist when reviewing this Pull Request. General
Tests
Documentation
New flags
If a workflow is added or modified:
Backward compatibility
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #16781 +/- ##
==========================================
+ Coverage 68.93% 68.95% +0.02%
==========================================
Files 1565 1566 +1
Lines 201764 201764
==========================================
+ Hits 139088 139129 +41
+ Misses 62676 62635 -41 ☔ View full report in Codecov by Sentry. |
@@ -438,7 +408,7 @@ HasMismatch: {{.HasMismatch}} | |||
StartedAt: {{.StartedAt}} | |||
{{if (eq .State "started")}}Progress: {{printf "%.2f" .Progress.Percentage}}%%{{if .Progress.ETA}}, ETA: {{.Progress.ETA}}{{end}}{{end}} | |||
{{if .CompletedAt}}CompletedAt: {{.CompletedAt}}{{end}} | |||
{{range $table := .TableSummaryMap}} | |||
{{range $table := .TableSummaryMap}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small bit of trailing whitespace here and on line 420. I suspect it's not load bearing but if it turns out to be, I can undo this.
@mdlayher I like this idea! Makes total sense to me. I don't, however, think that |
This PR is being marked as stale because it has been open for 30 days with no activity. To rectify, you may do any of the following:
If no action is taken within 7 days, this PR will be closed. |
Closing as stale. Please re-open if you would like to address review feedback. |
Thanks! I owe a new PR with a different approach. |
Description
Factor out buildSingleSummary as vdiff.Summarize, which generates a summary of the VDiff operation based on the VDiffShow RPC response.
Related Issue(s)
Checklist